package ai.people.netmon.framework.domain.telegram.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xing.wei
 * @since 2022-01-06 17:07:13
 */
@TableName(value = "channel_members", schema = "telegram")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = false)
public class ChannelMembers implements Serializable {

    private static final long serialVersionUID=1L;

    
    @TableId(value = "channel_id")
    private Long channelId;

    
    @TableField(value = "user_id")
    private Long userId;

    
    @TableField(value = "meta")
    private Object meta;

}